﻿using System;
using System.Collections.Generic;

using System.Text;

namespace TimKen.DataEntity
{

    /// <summary>
    /// 产品属性实体类
    /// </summary>
    public class POption
    {
        public POption()
        { }
        #region Model
        private int _optionid;
        private int _languageid;
        private string _optionname;
        private int? _fieldtype;
        private string _fieldmetadata;
        /// <summary>
        /// 产品选项ID
        /// </summary>
        public int OptionID
        {
            set { _optionid = value; }
            get { return _optionid; }
        }
        /// <summary>
        /// 语言ID
        /// </summary>
        public int LanguageID
        {
            set { _languageid = value; }
            get { return _languageid; }
        }
        /// <summary>
        ///  产品属性标签名称 比如color 颜色 重量 长宽高
        /// </summary>
        public string OptionName
        {
            set { _optionname = value; }
            get { return _optionname; }
        }
        /// <summary>
        /// 字段的类型 FieldType Enum  单行文本 多行文本 下拉列表
        /// </summary>
        public int? FieldType
        {
            set { _fieldtype = value; }
            get { return _fieldtype; }
        }
        /// <summary>
        /// 字段的默认值  或者 下拉列表的元数据
        /// </summary>
        public string FieldMetaData
        {
            set { _fieldmetadata = value; }
            get { return _fieldmetadata; }
        }

        #endregion
    }
}
